//
//  DetailWriterViewController.h
//  StanfordEvents
//
//  Created by Gongmyung on 7/7/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>

@protocol DetailWriterViewDelegate <NSObject>
@required
- (void)setTitle:(NSString *)title andHost:(NSString*)host andDescription:(NSString*)desc;
- (UINavigationController *)navController;          // Return the navigation controller
@end

@interface DetailWriterViewController : UIViewController {
    IBOutlet UITextView *eventDescription;
    IBOutlet UITextField *eventTitle;
    IBOutlet UITextField *eventHost;
    
    id <DetailWriterViewDelegate> delegate;
}

@property (nonatomic, assign)  id <DetailWriterViewDelegate> delegate;

@end
